﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using NewLife.CommonEntity;
using BingZi.HY.Core.Entities.Center;
using BingZi.HY.Core.BLL;


namespace BingZi.HY.UI.Admin.Manager
{
    public partial class Pages_app_InfoType : PageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                // 添加按钮需要添加权限
                lbAdd.Visible = Acquire(PermissionFlags.New);
                // 最后一列是删除列，需要删除权限
                gvapp_InfoType.Columns[gvapp_InfoType.Columns.Count - 1].Visible = Acquire(PermissionFlags.Delete);
            }
        }
    }

}